package com.csnf.service;

import com.csnf.entity.Student;

import java.util.List;

public interface StudentService {

    /**
     * 添加学生
     * @param student
     * @throws Exception
     */
    void  addStudent(Student student) throws Exception;


    List<Student>gatAll();


    void deleteById(int id);

}